package hc.bre.calc.scorecard

import com.fasterxml.jackson.annotation.JsonInclude
import hc.bre.cmn.ReferRule

@groovy.transform.CompileStatic
@groovy.transform.ToString(includeNames=true,includePackage=false)
@JsonInclude(JsonInclude.Include.NON_EMPTY)
class ScBranchItem extends ReferRule{
	List<ScLeafItem> list;

	public ScBranchItem load(Map map) {
		super.load(map);
		list = hc.Util.loadList(map.get('list'), ScLeafItem.class)
		return this;
	}
}
